<?php

require_once('../library/Quad/Bootstrap.php');

$app = new Quad_Bootstrap('rewrite');

$div = new Quad_Html_Element('div');
$div->nodeValue = 'test';
$div->name = 'one';
$div->{"a:b"} = 'c';
$div->style->backgroundColor = '#fff';
$div->style->zIndex = '7';
$div->style->{"z-index"} = '8';
$div->setStyle('z-index', 9);

$div->addDecorator('FormError');
$div->addDecorator('Div');

$div->addClassName('class1');
$div->addClassName('class1');
$div->addClassName('class2');
$div->addClassName('class3');
$div->removeClassName('class3');
//$div->removeAttribute('class');

echo htmlentities($div);
